package com.my.blog.myblog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.blog.myblog.entity.Log;
import com.my.blog.myblog.entity.custom.TimeCount;
import com.my.blog.myblog.mapper.LogMapper;
import com.my.blog.myblog.service.LogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/***
 *
 * @Auther: MuYun
 * @Date: 2021/9/8 21:59
 * @Description：
 *
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements LogService {

    @Resource
    private LogMapper logMapper;


    @Override
    public List<TimeCount> selectLogByDate(Map<String, Object> map) {
        return logMapper.selectLogByDate(map);
    }
}
